* {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
}

.box {
    margin: 0 auto;
    width: 500px;
    height: 300px;
    border: 1px solid #000;
    background-image: radial-gradient(#fff 5%, #000);
}

.box>.img_box {
    position: relative;
    /* top: 80px; */
    padding-top: 80px;
}

.box>.img_box>ul {
    position: relative;
    height: 150px;
    /* background-color: #87ceeb; */
}

.box>.img_box>ul>li {
    position: absolute;
    width: 400px;
    bottom: 10px;
    box-sizing: border-box;
    transition: 0.3s ease-in-out;
}

.box>.img_box>ul>.list01 {
    transform: translateX(0) scale(0.8);
    z-index: 1;
    transform-origin: left center;
}

.box>.img_box>ul>.list02 {
    transform: translateX(50px) scale(1);
    z-index: 3;
}

.box>.img_box>ul>.list03 {
    transform: translateX(180px) scale(0.8);
    z-index: 1;
    transform-origin: left center;
}

.box>.img_box>ul>.list04 {
    transform: translateX(90px) scale(0.8);
    transform-origin: left center;
}

.box>.img_box>ul>li img {
    display: block;
    width: 100%;
    border-radius: 25px;
    border: 1px solid black;
}

.box>.img_box>.l_btn,
.box>.img_box>.r_btn {
    position: absolute;
    top: 60%;
    width: 30px;
    height: 50px;
    background-color: gray;
    transform: translateY(-50%);
    z-index: 9999;
    color: #bababa;
    text-align: center;
    line-height: 50px;
    font-size: 30px;
    user-select: none;
    cursor: pointer;
}

.box>.img_box>.l_btn {
    left: 0;
}

.box>.img_box>.r_btn {
    right: 0;
}

.box>.dot_box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    /* top: 100px; */
}

.box>.dot_box>span {
    width: 20px;
    height: 4px;
    background-color: green;
    margin: 0 5px;
    cursor: pointer;
}

.box>.dot_box>.dot_active {
    background-color: red;
}